﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ZealousTTS.Web.ViewModels.UtilityModels
{
    public class ListConfig
    {
        public String ControlID { get; set; }
        public bool ShowEditLink { get; set; }
        public String EditLinkFormat { get; set; }
        public bool ShowExternalLink { get; set; }
        public String ExternalLinkFormat { get; set; }
        public List<Group> Groups { get; set; }
        public System.Data.DataTable DataSource { get; set; }

    }


    public class Group
    {
        public String Name { get; set; }
        public List<Field> Fields { get; set; }
    }

    public class Field
    {
        public String Name { get; set; }
        public String StringFormat { get; set; }
        public List<String> Params { get; set; }
    }
}